// file:api.js
// 1、导入axios以及拦截器
import service from './request'

// 2、定义登录函数接口
export const listApi = (data) => {
    return service({
        url: '/platform/typeTemplate/list',
        method: 'post',
        data
    })
};
export const save = (data) => {
    return service({
        url: '/platform/typeTemplate/insert',
        method: 'post',
        data
    })
};
export const findById = (data) => {
    return service({
        url: '/platform/typeTemplate/findById/'+data,
        method: 'get',
    })
};